package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface ContentService {
    List<TbContent> getContentPageInfo();

    int contentAdd(TbContent content);

    TbContent toContentUpdate(Long id);

    int contentUpdate(TbContent content);

    int deleteId(Long id);

    int contentAudit(TbContent content);

    List<TbContent> getSlideshow();

    List<TbContent> getAboutUs();

    List<TbContent> getRelated();

    List<TbContent> selectByCategoryId(Long categoryId);
}
